home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
utility
/
utilgraf
/
newicndt.lha
/
NewIconDT
/
NewIconDT.doc
< prev
next >
Wrap
Text File
|
1980-01-01
|
4KB
|
127 lines
»»» NewIcon DataType «««
Version 39.0 (23.10.96)
COPYRIGHT NOTE
¯¯¯¯¯¯¯¯¯¯¯¯¯¯
This product is freeware, do what you want with it.
The source code remains copyrighted but is freely distributable and
modifiable.
DISCLAIMER
¯¯¯¯¯¯¯¯¯¯
No warranties of any kind are made as to the functionality of this
program. You are using it at your own risk.
SYSTEM REQUIREMENTS
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
o OS3.0 or higher
o The NewIcons package by Nicola Salmoria (see Aminet)
INSTALLATION
¯¯¯¯¯¯¯¯¯¯¯¯
Copy Devs/Datatypes/NewIcon#? SYS:Devs/Datatypes/
Copy Classes/Datatypes/newicon.datatype SYS:Classes/Datatypes/
Copy NewIcon.prefs ENVARC:DataTypes/
Copy NewIconToILBM C:
Now reboot your machine or type "AddDatatypes REFRESH" in a shell.
FEATURES
¯¯¯¯¯¯¯¯
This datatype will load 'NewIcon' icons. So you can convert them to
any (IFF ILBM) file format, to be able to edit them.
This datatype is a replacement for the old and buggy program
'NewIconToBrush'.
You can control some features with a prefs file. This file is named
ENV:DataTypes/NewIcon.Prefs .
Every line starting with ; # or * is considered a comment. All others
lines are parsed for the parameters listed below. You can specify the
parameters on several lines or on the same line by separating them by
spaces.
NOBORDER/S Don't draw the border around images.
NONORMAL/S Don't include the normal state image.
NOSELECTED/S Don't include the selected state image.
XOFFSET/N Defines the number of pixels between the horizontal
borders and the images. Default to 2.
YOFFSET/N Defines the number of pixels between the vertical
borders and the images. Default to 2.
BORDERPEN/N The pen number used to draw the border. Default
to 1.
COLORMAP A picture filename containing a colormap. The
images will be remaped to this colormap. Defaults
to the colormap of the icon.
Actually the recognation of icon file is the same as the 'icon datatype',
thus you can't use both at the same time. The next version should fix this.
For those of you who liked the shell conversion tool (NewIconToBrush), you
can use DT2IFF by Markus Hillenbrand (Aminet:gfx/conv/dt2iff.lha) to
achieve this. An AmigaDOS script is provided here (NewIconToILBM) to do
this job.
The template is : FROM/A,TO/A,NOBORDER/S,NONORMAL/S,NOSELECTED/S,
XOFFSET,YOFFSET,BORDERPEN,COLORMAP
Where FROM is the filename of the icon (with the .info), TO is the
destination directory where to store the IFF file (a .IFF will be added).
All others parameters are the same as for the prefs file. Notice that if
you don't specify any of those, the standard prefs file will be used, but
starting from one parameters specified the standard prefs file is ignored.
HISTORY
¯¯¯¯¯¯¯
Back in January 1995, I made a program called 'NewIconToBrush' to convert
NewIcon icons to IFF ILBM. This program was a hack and the system had
some weird behavior after using it. I made a new version (no more a hack)
but it still had some enforcer hits (reported by one of you). Then I
decided to rewrite it in C (yes it was in assembler !), but my mind just
worked faster, why not make a DataType ? There are multiple programs out
there to convert from DT to DT. So here it is.
39.0 23-Oct-96 Initial release.
AUTHOR
¯¯¯¯¯¯
Pascal Hurni
Av. Cressire 14
CH-1814 La Tour-de-Peilz
Switzerland
or
E-Mail: phurni@cyber.ch
THANKS
¯¯¯¯¯¯
Many thanks to the 'NewIcons' team for providing us a so cool system.
Thanks must go to David N.Junod ( BMPdt from the 3.1 NDK ) and
Christian Buchner ( AOM_RAWdt ) for the original datatype source code.